package com.base.monitor.model.model.system.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * @description:
 * @author: tsing
 * @create: 2021-01-22 21:21
 */
@Data
public class UserSaveDto {

    private Long id;

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "手机号码不能为空")
    private String mobile;

    @NotBlank(message = "角色不能为空")
    private String roleName;

    @NotBlank(message = "创建时间不能为空")
    private String createTime;

}
